import request from '@/utils/request'

export function consultationStatistics(name,dateRange,pageNum,pageSize){
    return request({
        url: 'sf/cs/cs',
        method: 'POST',
        data:{
            name: name,
            dateRange: dateRange,
            pageNum: pageNum,
            pageSize: pageSize
        }
    })
}

export function consultationReport(status,pathologyType,condition,dateRange,pageNum,pageSize){
    return request({
        url: 'sf/cs/cr',
        method: 'POST',
        data:{
            status: status,
            pathologyType: pathologyType,
            condition: condition,
            dateRange: dateRange,
            pageNum: pageNum,
            pageSize: pageSize
        }
    })
}

export function getConsultationStatus(){
    return request({
        url: 'sf/cs/getConsultationStatus',
        method: 'GET'
    })
}